import service from '../request.js'

export const loginFn = (data) => service({
  url: '/users/login',
  data
})

export const loginOut = (data) => service({
  url: '/users/loginOut',
  data: data
})

export const getUserId = (data) => service({
  url: '/users/me',
  data
})